//
//  ProfileEditViewController.swift
//  PropertyCommunity
//
//  Created by benwang on 2021/7/5.
//

import UIKit

class ProfileEditViewController: UIViewController {

  override func viewWillAppear(_ animated: Bool) {
    super.viewWillAppear(animated)
    opacityNavigationBar(color: .designKit.background)
  }

    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
      title = "编辑资料"

      view.backgroundColor = .designKit.secondaryBackground

      let header = R.nib.profileEditContentView(owner: self)!
      view.addSubview(header)

      header.snp.makeConstraints { make in
        make.top.equalTo(view.safeAreaLayoutGuide.snp.top).offset(8)
        make.left.right.equalToSuperview()
      }




    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destination.
        // Pass the selected object to the new view controller.
    }
    */

}
